<script setup>
import { useRoute } from 'vue-router';
const route = useRoute();
console.log( route.params.id );

</script>

<template>
  <div>详情</div>
</template>

<style scoped>

</style>